import {Component, ViewChild, ElementRef} from '@angular/core';

@Component({
  selector: 'app-loading-overlay',
  template: `
         <div *ngIf="list[0]!=''" style="height: 12px; text-align: center;">{{list[0]}}</div>
         <div style="height: 12px; text-align: center;">{{list[1]}}</div>
         <div style="height: 12px; text-align: center;">{{list[2]}}</div>
    `,
  styles: [
    `
        .customHeaderLabel
        {
            float: left;
            margin: 0 0 0 3px;
        }
    `
  ]
})
export class HeaderDayComponent {
   params: any;
   list:any;

  agInit(params): void {
    this.params = params;
    let  displayName = params.displayName;
    this.list = displayName.split(";"); //字符分割
  }

}
